package jian.thread.newbie;

public class ThreadTest {

	public static void main(String[] args) {
		Runnable run = new Runnable() {
			Counter counter = new Counter();
			@Override
			public void run() {
				
				counter.sum();
			}
		};

		for (int i = 0; i < 10; i++) {
			new Thread(run).start();
		}
	}
}
